package cn.tedu.spring.auto;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Component;

import javax.annotation.Resource;

/**
 * Created by IntelliJ IDEA.
 *
 * @author zq
 * @version 1.0
 * @create 2024-08-02 15:17
 * @since jdk1.8
 */
@Component
public class UserCache {
    @Autowired
    @Qualifier("cacheImpl1")
//    @Resource(name = "cacheImpl1")
    private Cache cache;

}
